﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CMP.ERP.Model
{
    /// <summary>
    /// 采购子表
    /// </summary>
    public class PurchaseMate
    {
        /// <summary>
        /// 子编码
        /// </summary>
        public int PurchaseMate_Id { get; set; }
        /// <summary>
        /// 外键采购编号
        /// </summary>
        public int Purchase_Id { get; set; }
        /// <summary>
        /// 外键采购导航属性
        /// </summary>
        public virtual Purchase Purchase { get; set; }
        /// <summary>
        /// 外键商品信息编号
        /// </summary>
        public int Commodity_Id { get; set; }
        /// <summary>
        /// 外键商品信息导航属性
        /// </summary>
        public virtual Commodity Commodity { get; set; }
        /// <summary>
        /// 采购数量
        /// </summary>
        public int PurchaseMate_Num { get; set; }
    }
}
